<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/admin/base.css">
    <link rel="stylesheet" href="css/admin/app.css">
</head>

<body>

    <div class="z-pa">
        <!--
            data可选属性
            input-name
            limit
            url
            fieldname
         -->
        <div class="upload upload-file z-mab" data-input-name="files" data-limit="0" data-url="http://xc-dmp.37226.com/api/upload" data-fieldname="files">
            <div class="upload-list upload-list-text"></div>
            <div class="upload-tips">只能上传jpg/png文件，且不超过500kb</div>
            <div class="upload-error"></div>
            <div class="input-opacity">
                <input type="file" class="input" accept="image/gif,image/jpeg,image/jpg,image/png" multiple="multiple">
                <a class="z-btn z-default"><i class="fa fa-upload"></i> 上传</a>
            </div>
        </div>

        <div class="upload upload-image" data-input-name="images" data-limit="0" data-url="http://xc-dmp.37226.com/api/upload" data-fieldname="files">
            <div class="upload-list upload-list-image"></div>
            <div class="upload-tips">只能上传jpg/png文件，且不超过500kb</div>
            <div class="upload-error"></div>
            <div class="upload-loading">
                <i class="fa fa-cog fa-spin"></i> 图片上传中...
            </div>
            <div class="input-opacity">
                <input type="file" class="input" accept="image/gif,image/jpeg,image/jpg,image/png" multiple="multiple">
                <a class="z-btn z-default"><i class="fa fa-upload"></i> 上传</a>
            </div>
        </div>
    </div>
    <script src="lib/jquery.min.js"></script>
    <script src="js/admin-upload.js"></script>
</body>

</html>